package com.navinfo.tripanalysis.service;

import com.navinfo.tripanalysis.pojo.LoadDataParam;
import com.navinfo.tripanalysis.pojo.Point;
import org.apache.spark.api.java.JavaRDD;
import org.apache.spark.api.java.JavaSparkContext;
import org.apache.spark.sql.SparkSession;

import java.io.Serializable;

/**
 * 载入0200数据服务
 * @author 沈东生
 */
public interface Load0200DataService extends Serializable {
    JavaRDD<Point> load(SparkSession spark, JavaSparkContext jsc, LoadDataParam param);
}
